package com.haoyeteng.sxbd.modular.business.service.impl;

import com.haoyeteng.sxbd.modular.business.model.ShopCart;
import com.haoyeteng.sxbd.modular.business.dao.ShopCartMapper;
import com.haoyeteng.sxbd.modular.business.service.IShopCartService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 购物车物品表 服务实现类
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-06-27
 */
@Service
public class ShopCartServiceImpl extends ServiceImpl<ShopCartMapper, ShopCart> implements IShopCartService {
    /**
     * 查询购物车列表
     * @param params map参数
     * @return List<Map<String, Object>>
     */
    @Override
    public List<Map<String, Object>> selectShopCarts(Map<String, Object> params){
        return this.baseMapper.selectShopCarts(params);
    }

}
